﻿namespace log.Nlog.Logger
{
    public class LoggerConfig
    {
        public static readonly string s_loggerName = "SysLog";
        public static readonly string s_logType = "LogType";
        public static readonly string s_creatorId = "CreatorId";
        public static readonly string s_creatorName = "OpUserName";
        public static readonly string s_data = "Data";
        public static readonly string s_layout = $@"${{date:format=yyyy-MM-dd HH\:mm\:ss}}|${{level}}|日志类型:${{event-properties:item={s_logType}}}|操作员:${{event-properties:item={s_creatorName}}}|内容:${{message}}|备份数据:${{event-properties:item={s_data}}}";
    }
}
